Optimal. Leaf size=29 \[ -\frac {2 \sec (e+f x) \sqrt {c-c \sin (e+f x)}}{a f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {2736, 2673} \[ -\frac {2 \sec (e+f x) \sqrt {c-c \sin (e+f x)}}{a f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2673
Rule 2736
Rubi steps
\begin {align*} \int \frac {\sqrt {c-c \sin (e+f x)}}{a+a \sin (e+f x)} \, dx &=\frac {\int \sec ^2(e+f x) (c-c \sin (e+f x))^{3/2} \, dx}{a c}\\ &=-\frac {2 \sec (e+f x) \sqrt {c-c \sin (e+f x)}}{a f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.10, size = 29, normalized size = 1.00 \[ -\frac {2 \sec (e+f x) \sqrt {c-c \sin (e+f x)}}{a f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 29, normalized size = 1.00 \[ -\frac {2 \, \sqrt {-c \sin \left (f x + e\right ) + c}}{a f \cos \left (f x + e\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.61, size = 39, normalized size = 1.34 \[ \frac {2 c \left (\sin \left (f x +e \right )-1\right )}{a \cos \left (f x +e \right ) \sqrt {c -c \sin \left (f x +e \right )}\, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.78, size = 76, normalized size = 2.62 \[ \frac {2 \, {\left (\sqrt {c} + \frac {\sqrt {c} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}}\right )}}{{\left (a + \frac {a \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1}\right )} f \sqrt {\frac {\sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.20, size = 40, normalized size = 1.38 \[ -\frac {4\,\cos \left (e+f\,x\right )\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}}{a\,f\,\left (\cos \left (2\,e+2\,f\,x\right )+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {\sqrt {- c \sin {\left (e + f x \right )} + c}}{\sin {\left (e + f x \right )} + 1}\, dx}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________